﻿using System;
using System.Xml.Serialization;

namespace SimpleScheduler.Core.Domain
{
    [XmlRoot("Property")]
    [Serializable]
    public class Property
    {
        [XmlAttribute]
        public string Name { get; set; }
        [XmlText]
        public string Value { get; set; }

        public Property()
        {

        }

        public Property(string Name, string Value)
        {
            this.Name = Name;
            this.Value = Value;
        }
    }
}